home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nebula 2
/
Nebula Two.iso
/
SourceCode
/
MiscKit1.7.1
/
MiscKit
/
Palettes
/
MiscSwapKitPalette
/
MiscSCCInspector.m
< prev
next >
Wrap
Text File
|
1995-04-12
|
989b
|
67 lines
// Copyright (C) 1995
// Use is governed by the MiscKit license
#import "MiscSwapKit.subproj/MiscSwapContentsController.h"
#import "MiscSCCInspector.h"
@implementation MiscSCCInspector
// Load the Inspector
- init
{
char buf[MAXPATHLEN + 1];
id bundle;
[super init];
bundle = [NXBundle bundleForClass:[MiscSwapContentsController class]];
[bundle getPath: buf forResource: "MiscSCCInspector" ofType:"nib"];
[NXApp loadNibFile:buf owner:self withNames:NO fromZone:[self zone]];
return self;
}
// Query the object for it's attributes to display
- revert: sender
{
[tagForm setIntValue: [object triggerTag] ];
return [super revert: sender];
}
- tagChanged:sender
{
[object setTriggerTag: [tagForm intValue] ];
return [super ok: sender];
}
- (BOOL)wantsButtons
{
return NO;
}
@end
@implementation MiscSwapContentsController (IBInspector)
- (const char *)getInspectorClassName
{
return "MiscSCCInspector";
}
@end